package com.bookmall.entity;

import java.time.LocalDateTime;

public class BookType {
	private int typeId;               //类型Id
	private String typeName;          //类型名
	private int parentId;             //书类父类类型
	private LocalDateTime createTime; //创建时间
	private LocalDateTime modifyTime; //修改时间
	private boolean deleteFlag;       //删除标记
	
	public BookType() {
		super();
	}
	public BookType(int typeId, String typeName, int parentId, LocalDateTime createTime, LocalDateTime modifyTime,
			boolean deleteFlag) {
		super();
		this.typeId = typeId;
		this.typeName = typeName;
		this.parentId = parentId;
		this.createTime = createTime;
		this.modifyTime = modifyTime;
		this.deleteFlag = deleteFlag;
	}
	public int getTypeId() {
		return typeId;
	}
	public void setTypeId(int typeId) {
		this.typeId = typeId;
	}
	public String getTypeName() {
		return typeName;
	}
	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}
	public int getParentId() {
		return parentId;
	}
	public void setParentId(int parentId) {
		this.parentId = parentId;
	}
	public LocalDateTime getCreateTime() {
		return createTime;
	}
	public void setCreateTime(LocalDateTime createTime) {
		this.createTime = createTime;
	}
	public LocalDateTime getModifyTime() {
		return modifyTime;
	}
	public void setModifyTime(LocalDateTime modifyTime) {
		this.modifyTime = modifyTime;
	}
	public boolean isDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(boolean deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	@Override
	public String toString() {
		return "BookType [typeId=" + typeId + ", typeName=" + typeName + ", parentId=" + parentId + ", createTime="
				+ createTime + ", modifyTime=" + modifyTime + ", deleteFlag=" + deleteFlag + "]";
	}
	
	

}
